package config

// WitAdmin 系统配置
type WitAdmin struct {
	Name          string `mapstructure:"name" json:"name" yaml:"name"`
	Version       string `mapstructure:"version" json:"version" yaml:"version"`
	Addr          string `mapstructure:"addr" json:"addr" yaml:"addr"`
	SwaggerDocUrl string `mapstructure:"swaggerDocUrl" json:"swaggerDocUrl" yaml:"swaggerDocUrl"`
	Port          string `mapstructure:"port" json:"port" yaml:"port"`
	Debug         bool   `mapstructure:"debug" json:"debug" yaml:"debug"`
	Image         string `mapstructure:"image" json:"image" yaml:"image"`
	Db            int    `mapstructure:"db" json:"db" yaml:"db"`
	Redis         bool   `mapstructure:"redis" json:"redis" yaml:"redis"`
	WebSocketPath string `mapstructure:"webSocketPath" json:"webSocketPath" yaml:"webSocketPath"`
	Token         string `mapstructure:"token" json:"token" yaml:"token"`
	TablePrefix   string `mapstructure:"tablePrefix" json:"tablePrefix" yaml:"tablePrefix"`
}
